<form id="add-form" class="form-horizontal form-ajax" role="form" data-toggle="validator" method="POST" action="">
    <div class="form-group">
        <label for="userid" class="control-label col-xs-12 col-sm-2">{:__('User id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="text" class="form-control" id="userid" name="row[userid]" value="" data-rule="required;userid" />
        </div>
    </div>
    <div class="form-group">
        <label for="username" class="control-label col-xs-12 col-sm-2">{:__('Username')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="text" class="form-control" id="username" name="row[username]" value="" data-rule="required;username" />
        </div>
    </div>
    <div class="form-group">
        <label for="overtime_begin" class="control-label col-xs-12 col-sm-2">{:__('Overtime_begin')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="datetime-local" class="form-control" id="overtime_begin" name="row[overtime_begin]"/>
        </div>
    </div>
    <div class="form-group">
        <label for="overtime_end" class="control-label col-xs-12 col-sm-2">{:__('Overtime_end')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="datetime-local" class="form-control" id="overtime_end" name="row[overtime_end]"  />
        </div>
    </div>
    <div class="form-group">
        <label for="overtime_reason" class="control-label col-xs-12 col-sm-2">{:__('overtime_reason')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea cols="75" rows="5" id="overtime_reason"  name="row[reason]" ></textarea>
        </div>
    </div>
    <div class="form-group hidden layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>